/* General Styles */
html, body {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

/* Navbar Styles */
.navbar-nav .nav-item {
    margin-right: 15px;
}

.navbar-nav .nav-link {
    color: #cc0000;
    font-weight: 600;
    padding: 10px 15px;
}

.navbar-nav .nav-link:hover {
    color: #ff3333;
}

/* Footer Styles */
footer {
    background-color: #f1f1f1; /* Background color for footer */
    padding: 20px 0; /* Padding for top and bottom */
    text-align: center;
    width: 100%;
    box-shadow: 0 -1px 5px rgba(0,0,0,0.1);
    position: relative;
    bottom: 0; /* Keep footer at the bottom */
    left: 0;
    right: 0;
}

/* Social Media Icon Colors and Size */
.footer-icon {
    font-size: 1.5em;
    margin: 0 10px; /* Space between icons */
    transition: transform 0.3s;
}

.footer-icon:hover {
    transform: scale(1.2);
}

.github-icon {
    color: #333; /* GitHub color */
}

.linkedin-icon {
    color: #0A66C2; /* LinkedIn color */
}

.medium-icon {
    color: #00ab6c; /* Medium color */
}

.gmail-icon {
    color: #D14836; /* Gmail color */
}

.coffee-icon {
    color: #FF813F; /* Coffee color */
}

.kaggle-icon {
    color: #20beff; /* Kaggle color */
}

.huggingface-icon {
    color: #ff9900; /* Hugging Face color */
}

footer p {
    margin: 0; /* Remove default margins */
    padding-top: 10px; /* Space between icons and text */
    font-size: 0.9em; /* Adjust font size */
    color: #666; /* Text color */
}


/* Skillset styling */
.skills {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.skill-badge {
    background-color: #f1f1f1;
    color: #333;
    border-radius: 5px;
    padding: 8px 12px;
    margin: 10px;
    font-weight: 600;
    font-size: 0.9em;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: inline-block;
}

.skill-badge:hover {
    opacity: 0.85;
}

.skills h2 {
    width: 100%;
    margin-bottom: 20px;
}

.resume-button {
    background-color: #D14836;
    color: white;
    border: none;
    padding: 8px 12px;
    font-size: 1.2em;
    border-radius: 5px;
    transition: background-color 0.3s;
    margin-top: 10px;
}

.resume-button:hover {
    background-color: #ff3333;
    color: white;
}

/* Certification Page Styles */
.certifications .card {
    position: relative;
    background-color: #ffffff; /* White background */
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Align content to start */
    align-items: center; /* Center content horizontally */
}

.certifications .card img {
    width: 90px; /* Small size for the logo */
    height: 50px;
    margin-bottom: 10px; /* Space below the logo */
}

.certifications .btn-credentials {
    background-color: #007bff;
    border: none;
    color: white;
    transition: background-color 0.3s;
}

.certifications .btn-credentials:hover {
    background-color: #0056b3;
}

.certifications .card-body {
    display: flex;
    flex-direction: column;
    align-items: center; /* Center text */
    padding: 20px;
    position: relative;
    z-index: 1;
}

.certifications .card-title {
    margin-bottom: 10px;
    font-size: 1.1em;
    font-weight: 400; /* Normal weight */
    text-align: center;
    z-index: 1;
}

.certifications .card:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.1);
    z-index: 0;
}

/* Tech Stack Badges */
.tech-stack-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 20px;
}

.tech-badge {
    background-color: #f1f1f1; /* Light background color */
    color: #333; /* Text color */
    border-radius: 15px; /* Rounded corners */
    padding: 10px 20px; /* Padding for better spacing */
    margin: 5px; /* Space between badges */
    font-weight: 600; /* Bold text */
    font-size: 0.9em; /* Font size */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Light shadow effect */
    display: inline-block; /* Display badges inline */
    text-align: center; /* Center text */
    transition: transform 0.3s, background-color 0.3s; /* Smooth transition */
}

.tech-badge:hover {
    transform: scale(1.1); /* Slightly enlarge on hover */
    background-color: #e2e2e2; /* Change background on hover */
}

/* Styling for the stack title */
.stack-title {
    font-size: 1.5em;
    font-weight: 700; /* Make it bold */
    text-align: center; /* Center the text */
    margin-top: 20px;
}

.section-divider {
    border: none;
    height: 1px;
    background-color: #ccc; /* Light gray line */
    margin: 30px 0; /* Space above and below */
}

/* Blog List Styles */
.blogs {
    display: flex;
    flex-direction: column;
    gap: 20px; /* Space between each blog item */
}

.blog-item {
    display: flex;
    align-items: center;
    background-color: #fff;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.blog-item img {
    width: 100px;
    height: auto;
    margin-right: 20px;
    border-radius: 5px;
}

.blog-content {
    flex-grow: 1;
}

.blog-title {
    font-size: 1.2em;
    font-weight: 600;
    margin: 0;
    color: #333;
}

.blog-date {
    font-size: 0.9em;
    color: #888;
    margin: 5px 0;
}

.blog-description {
    font-size: 0.9em;
    color: #666;
}

.btn-read {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 8px 12px;
    font-size: 0.9em;
    border-radius: 5px;
    transition: background-color 0.3s;
    margin-top: 10px;
}

.btn-read:hover {
    background-color: #0056b3;
    color: white;
}

/* Projects Styles */

.btn-project-demo {
    background-color: #D14836;
    color: white;
    border: none;
    padding: 8px 12px;
    font-size: 0.9em;
    border-radius: 5px;
    transition: background-color 0.3s;
    margin-top: 10px;
}

.btn-project-demo:hover {
    background-color: #ff3333;
    color: white;
}

/* Contact Page Styles */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2em;
}

/* Center the contact details */
.contact-details {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px; /* Space between the contact items */
    flex-wrap: wrap; /* Allow wrapping for smaller screens */
}

.contact-item {
    display: flex;
    align-items: center;
    flex-direction: column;
    font-size: 1.2em;
}

.contact-item i {
    margin-bottom: 10px; /* Space below the icon */
}

.contact-link {
    color: #D14836; /* Same color as the icon */
    text-decoration: none;
    transition: color 0.3s;
}

.contact-link:hover {
    color: #ff3333; /* Slightly lighter shade on hover */
}
